package io.hxci.modules.edu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.hxci.modules.edu.domain.EduCourse;
import io.hxci.modules.edu.domain.EduSign;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
   List<EduCourse> queryPage(IPage<EduCourse> page, @Param("userId") Long userId);
    //List<EduCourse> queryPage(IPage<EduCourse> page, @Param("sql_filter")String sql_filter);
    List<EduCourse> queryPageInfo(IPage<EduCourse> page, @Param("userId") Long userId);

    List<EduSign> check(@Param("recordid")String  recordid);

    void change(EduSign eduSign);

    Integer count(EduSign eduSign);

   // List<EduCourse> attendance(IPage<EduCourse> page, Long userId);
}